<!DOCTYPE html>
<html lang="en">
<%-include ../public/header.ejs%>

    <!--[if lt IE 7 ]> <body class="ie ie6"> <![endif]-->
    <!--[if IE 7 ]> <body class="ie ie7 "> <![endif]-->
    <!--[if IE 8 ]> <body class="ie ie8 "> <![endif]-->
    <!--[if IE 9 ]> <body class="ie ie9 "> <![endif]-->
    <!--[if (gt IE 9)|!(IE)]><!-->

    <body class="">
        <!--<![endif]-->

        <%-include ../public/navbar.ejs%>

            <%-include ../public/aside.ejs%>




                <div class="content">

                    <div class="header">

                        <h1 class="page-title">添加管理员</h1>
                    </div>

                    <ul class="breadcrumb">
                        <li><a href="<%=host%>/admin/index">首页</a> <span class="divider">/</span></li>
                        <li><a href="<%=host%>/admin/admin">管理员管理</a> <span class="divider">/</span></li>
                        <li class="active">添加管理员</li>
                    </ul>

                    <div class="container-fluid">
                        <div class="row-fluid">
                            <div class="btn-toolbar">
                                <input type="submit" value="保存" class="btn btn-primary" form="tab">
                                <div class="btn-group">
                                </div>
                            </div>
                            <div class="well">
                                <ul class="nav nav-tabs">
                                    <li class="active">添加用户</li>
                                </ul>
                                <div id="myTabContent" class="tab-content">
                                    <div class="tab-pane active in" id="home">
                                        <form id="tab" action="<%=host%>/admin/register/addPost" enctype="multipart/form-data" method="post">
                                            <label>用户名</label>
                                            <input type="text" value="" class="input-xlarge" name="username">
                                            <label>密码</label>
                                            <input type="text" value="" class="input-xlarge" name="password">
                                            <label>状态</label> 
                                            <p>是<input type="radio" value="1" checked class="input-xlarge" name="status"> 否
                                            <input type="radio" value="0" class="input-xlarge" name="status"></p>
                                            <label>头像</label>
                                            <input type="file" name="photo" class="input-xlarge">
                                        </form>
                                    </div>
                                    <div class="tab-pane fade" id="profile">

                                    </div>
                                </div>

                            </div>


                        </div>
                    </div>
                </div>


                <script src="<%=host%>/lib/bootstrap/js/bootstrap.js"></script>
                <script type="text/javascript">
                    $("[rel=tooltip]").tooltip();
                    $(function () {
                        $('.demo-cancel-click').click(function () { return false; });
                    });
                </script>

    </body>

</html>